<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include.inc.jsp" %>
<div class="pageContent">
    <div class="pageFormContent" layoutH="58">
        <ul class="tree expand">

            <c:forEach items="${list}" var="gm">
                <li><a href="javascript:">${gm.gorupName}</a>
                    <ul>
                        <c:forEach items="${userList}" var="user">
                            <c:if test="${user.positionId==gm.id}">
                                <li><a href="javascript:"
                                       onclick="$.bringBack({${id}:'${user.id}', ${name}:'${user.ename}'})">${user.ename}</a></li>
                            </c:if>
                        </c:forEach>
                    </ul>
                </li>
            </c:forEach>


            <li><a href="javascript:">北京</a>
                <ul>
                    <li><a href="javascript:" onclick="$.bringBack({id:'1', districtName:'东城', cityName:'北京'})">东城</a>
                    </li>
                    <li><a href="javascript:" onclick="$.bringBack({id:'2', districtName:'西城', cityName:'北京'})">西城</a>
                    </li>
                </ul>
            </li>
            <li><a href="javascript:">上海</a>
                <ul>
                    <li><a href="javascript:" onclick="$.bringBack({id:'1', districtName:'崇明', cityName:'上海'})">崇明</a>
                    </li>
                    <li><a href="javascript:" onclick="$.bringBack({id:'2', districtName:'黄浦', cityName:'上海'})">黄浦</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>

    <div class="formBar">
        <ul>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button class="close" type="button">关闭</button>
                    </div>
                </div>
            </li>
        </ul>
    </div>
</div>